-
Notifications
You must be signed in to change notification settings - Fork 241
Always generate fast-mode data for NFD and NFKD tries #7222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The intent is to allow the normalizer to assume that these tries are fast in the baked data mode. This changeset removes the ability to generate serde-loadable data with small-mode tries for NFD and NFKD. Per previous discussion, we can add the ability to generate small tries for these back if there are users of ICU4X who really need that mode for these tries. Fixes unicode-org#6836
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
observation: 23% and 18% size increase
|
If you have perf numbers could you include them in the PR? |
|
This changeset is not about what it does alone. But even alone, some things get better (trimming some other improved zh scenarios): It makes more sense to look at this changeset together with Furthermore, this changeset also unblocks further improvements planned as #6925. |
The intent is to allow the normalizer to assume that these tries are fast in the baked data mode.
This changeset removes the ability to generate serde-loadable data with small-mode tries for NFD and NFKD. Per previous discussion, we can add the ability to generate small tries for these back if there are users of ICU4X who really need that mode for these tries.
Fixes #6836